Add LRU cache and firebase framework