KNN native model generator
First draft implementation of Shark algorithm