massive refactoring push. Added tests for User model, and started routes...

... tests