Refactors project. Moves lib to models folder in app, and moves the server.rb actions out into a controllers folder