GUI class for PGM created