basic impl of remote-control server
document code
specify entry methods for control-server