Updated app.rb

Created app.rb to handle calling the model and views.  Corrected index.erb to include do statement in #each method.