renamed Cache decorator to MemoryCache, adapted config instantiations to use array config