Initial pass at caching package lookups

not right yet, key name is not correct