improved javadoc, and now independent of the Toronto Rehab project.