Removed ObjectType enum

The enum wasn't necessary, as I decided to just go with inherited
classes for that one. I'll probably just make seperate files for the
different values that were in the enum but keep all of their subclasses
in the same file.