Gui classes structure reworked.