* New component rest_command * add unittests * change handling like other command * change unittest * address @balloob comments