Transferred classes from ABCIS Utils.
Added javadoc.