Reduced visibility of config
Further implemented group queries

Renamed  sessions to surveys
Added support for the cancelLogWhenEmpty option
Removed unneeded type casts
Added first database management command

It is used to copy data from files into the database.