Added use of pygame as an output mechanism