create app class in app.rb