sbt friendly gitignore
refactors nearestNeighbor/rank