Refactored config package.