WIP on the re-implementation of fact caching and various backends.
Implement fact cache flushing alongside a command-line argument to invoke it.