add main body

main cli interface support

Signed-off-by: Jack Tan <jiankemeng@gmail.com>