Implemented GUI for easier use.