Add dalli for cache
Add new materials logic