added layout and foundation