Moving functionality to new class derived from sinatra::base
Model layer moved to separate file