tidied up makefile and docs