Fix javadoc issues.
Lot of small improvements and bug fixes, adds

checkout functionality for commits.