initial implementation a lazy state evaluation and invalidation container