monkey patching Sinatra::Base
add application and status code helpers, change application structure
refactored