Refactor config for project.