Add restify
Add schema index
Shut up jshint
Refactor

* Factor out reusable database code
* Remove needless vars
Add initial backend server