Use config in config
Merge pull request #8 from zzet/config_in_config

DRY in configs