updated app.rb for public folder