Basic working implementation without Swing UI implementation.