Setting up layouts and foundation