Added foundation and adjusted the layout