broke tools
added a Makefile and a test for tools
tools now compile but doesn't work