Change dependencies.
Add more javadoc + fix import paths.