updated modules to make config extendable by deep copy