refactoring persistence modul and added util.js
added basic crud with mongodb