moves <main> tags to application.html.erb to dry up code