Added a basic GUI using swing