Refs #18
Javadoc added to commons.

Fixes #19
Fixes #21