Split spec/app.rb into separate files