Refactoring server, using sinatra idioms to extend resque server