adding makefile
adding javadocs