removed non-route and non-view code from the gem to limit it to only sinatra concerns