adding oop config for modules