add some javadoc and comments

add README file