introduce 'type' to config file, so you can add a db.ini and actually specify it's .properties

thanks to https://github.com/yuanqixun