Changed the gui layout and removed unused imports