Creates layout, controllers and models