Remove functionality + factory

Removing a directory is now possible
Also: Added an XMLClassFactory to return an XMLClass