Final code and javadoc cleanup for release 0.1