Added makefile, tests, etc