Created Rails application and main controller with routes to main#index