made GUIboard to a class