NXP-14929 Provide a unified cache service

Add generic types