add Makefile and unittest. need google test....