added the cache singleton to the commentsearch class