cleaned up app.rb