Added Javadoc comments.
Updated readme