refactor config folders