Add sequence diagram.
Add javadoc and missing methods.
Add missing methods.