Implemented a basic GUI