region, datacenter and resource pool refactoring