gitignore
logging, pickling, some decoupling of get_knn