Adding persistance layer with nodejs