pmctl: support a control CLI 

WIP, please don't bother to review yet.