Implemented a basic GUI system