add classes and app.rb file