Added base Cache class for integrated caching
Added advanced caching (enable-advanced-cache)