Added foundation layout gem and general cleaned up code