support inheritance in config (WIP)