Refactored helpers output
Refactored helpers output

* Fixed problem wherein similar content would be output multiple times.
* Made the flow through the methods more robust.
* Reduced scope of some regex replacements.
* Inserted TODO note.

bhalash/nttr,bhalash/nttr,bhalash/nttr