Add some Javadoc and update README.md