add package.json for node dependencies
add working persistence prototype