add commandlinerunner
mend
add low level api test