Adding OutputFormatter base class

@kichalla ... :+1:  do you have a bug to track this. We can do it in a separate PR ( once sorna's changes are in.).