Implemented a simple WPF gui.