add javadoc
fix readme format (use wiki like syntax)