Switched EventManager and ClientManager to use DBObjectGateway, since we want to be able to access these objects by unique IDs.