moved kmeans into its own director