create CoreGenerator for main ops