Moved all object creation into classfactory. usrdefsub is now only a shell.