Seperated database config from library