Formatters is now a module

Relevant formatter functions are exported.  Module refactored so build passes.

Closes #990