begin to add child list into scala memory, and make the common interface ScGenerator