added base class for WorldObject and enum for WorldObjectType

Change-Id: Ida7381114049cde561dd481ead364eb9fcb7c7bb