modularize dbconfig in a file