Further tweeking of search codebase to implement more DNN API methods.
Separate out PurgeStoreFiles class into its own file.