cache invalidation on api data
abstraction
fix scope issues
fix scope issues
cleanup
working prototyped metadata cache