Add config module.
Merged with remote branch.