moved openstack api imports into the constrcutor