refactoring DB persistence (step one) works the same but separation between spec and implem
Merge branch 'master' of https://github.com/cegerard/appsGate-server