the far greater proportion of the building was occupied by the theatre , which filled almost the whole ground storey and was lighted from above , and by the cabinet , which formed an upper story at one end and looked upon the court .