Merge pull request #6 from askeing/master

Added some Javadoc for APIs.