Support for objects

Added support for CreateObjects() and CreatePlayerObject()