move erb file to views and create app.rb