Renamed MainController to ResourcesController