Added MainGUI and config class