Added a simple node map in the database.

In order to test on the http level the interface towards the Rest
module is changed in order to also get the response code.