Created and implemented a simple Output class