Add modules with define patern