started moving counterparty CLI functions into separate command