Initial commit of KNN port