added Sinatra partial gem
refactored show errors to partial
refactored controllers to separate files