Creating base module generator