Divide app.rb into some files.