he saw the shape of the place , the sheds and barns and the kitchen , smithy and dining hall on the lower floor , and the gallery on the second floor where the sleeping chambers were - all surrounding that central yard .