mongoose and restify
init mongoose and restify