managers/ec2: implement unbind
managers/ec2: improve code structure
managers/ec2: move code around