change to support config file instead of database configuration (see [dev] branch for more info)