renamed invrt to rtinv; introducing rtcommands and rtclient