Add simple cmd interface base.

Signed-off-by: Tomas Hozza <thozza@gmail.com>