Cleaned up app.rb