Refactor app.rb
Add MainController
Refactor PostsController
Rename Posts to Posts_Controller and remove routes.rb