makefile for publishing, clean up package.json, basics test framework