added option to use DB or not, changed some defaults in example.conf