Breaking all logic into their own little classes.
The sinatra definitions are now in a separate file.