removed old app.rb, moved code to run.rb