Reorganize main code
Added function to get all datacenter based on selector
Added some comments