feature: nodes api

* create api methods in the controller to query nodes, packages and specific entries of both
* add base tests in karma for all api methods