Add initial import of code from previous repo. Parallel learning still needs to be replaced with scikit-learn.