added database operations
Merge branch 'master' of github.com:BenDoan/livia-server