format fixing
rewrite of several modules , added additional support modules. made things more DRY, and all around better.
reformatted  messages.