[ResourceManager] switchResourcePool(ResourceManager&) changed to registerResourcePool(ResourcePool&). Resource pool moved to struct. ResourceManager is now passed a ResourcePool rather than a ResourceManager.