Added cache stats monitor.  Refactored searchbuilder and added test
class.