updated docs and makefile and stuff