Move k_means to a multi-file loader.