Cloudstack support

This PR adds cloudstack support.
Will fix.