Refactored CloudStack connector.