Revert "added createNEwType"

This reverts commit 88c1091c34b71bcfee19c565df0ab2746a0f5ab3.
able to generate XML to create a new type, need to do check on possible types