last commit of DB branch, next commits will delete db code and use an external database, probably cassandra