Implemented simple version of extract, visualize, and trainOn routes