add cli, change makefile