refactor config folder