created base and mongo cache provider