delete obsolete Entity class

Does the TypeRegistry stuff even work anymore? I don't think it's hooked up.