Created the Output class which is close to completion.  Please read my comments and notes inside the class.  Also any suggestions or corrections are appreciated.