refactor: move MakeCacheCommand out into its own file.