TID-Lab/aggie — pull request #9 by vkareh (2014-03-20 15:23:43+00:00)
Title: #1051 API main class

* Added a main `api.js` module, to which all API controllers can add their Express routes.
* Exposed mongoose instance to allow tests to change connected database.