added makefile, made unit testing callable.