Added GUI and feature processing code