Seperate config.database and add example