Add makefile and beginnings of code docs