Implemented entity types

Now phantom and kinematic objects are supported.