Databse configuration through config file, no more need to edit library