First commit, importing project

train, search, plot_pca, learning_curves and rudimentary end-to-end
tests working.

Still really alpha stage.