Add Node modules: restify and cache, building the charts directive, and defining the Rest api server