add app.rb file to Guardfile
Clean app.rb code