big rewrite to reflect changes in nxt counterpart
complete implementation of commands
use system cmds to set port type and subport poll period