Restify + Refactoring