Create ViewClassFactory.as