clean codes java doc and makefile's usage explaination