Add ClassFactory

Add IClassFactory, still no register related class/function.