Added javadoc on class. Added formatting examples/