added template application to sinatra.rb