Make a lot of changes.
Add makefile and tests.
Bump to version 0.1.2