#53 add filename and refactor app.rb