Implemented GUI
Warning: Getting NPE.