Adds GUI class.