Add database config to project