Add QueryCache and documentation for many things