Added a few bits of Javadoc, minor tidy up and upped version to 1.0.