add a thor commandline interface.
add client command.