Add javadoc

ub-12

Added javadoc for abbrevText(), commented out the println statements in post controller.