make the cli more of a real application
clean up the makefile/build setup