Updated license, improved README.md, added Makefile, test code