Created new class for GUI