Add possibility to use controllers
Refactor db.js

Dummy unit test