Modified application.html to only load resourced related to the controller
Generated hostels controller
Changed root route to hostels#index and deleted index.html