added utils
added memory cache