added stackinstance class to provide easy testing on openstack