The window should be on the far wall to help with air flow and light.
Link to plans for an 8×8 coop. I think 10×10 would be better so it can hold a brooder box (or two), a grow-out pen, and feed and supplies. It also needs egg boxes that are accessible from the outside.
A small barn for when the sheep and/or goats are on the back lawn. It needs porch cover to help keep the rain out.