registerd epackage and genmodel