Added database in server main and added commit lines in database
Merge branch 'python_smart_stats' of github.com:maxnordlund/eriver into python_smart_stats