Added api.client package, reworked EventManager API for subscriptions, adjusted the Id hierarchy to remove the need for toString and stringify