Included REST framework using restify + refactor

restify is a library that helps in implementing RESTful web services