add core, script generator as sub module