add support for simple queries

* list the number of packages under nodes
* list package versions for each package
* update package endpoint to the new api (ie: package name + versions[...] when querying /packages)