Convert to OOP. Makefile, docs, license.