(Added) Command api

Signed-off-by: wamilou <wamilou@gmail.com>