replace magic number with #define
up to 2 keys in cache
publicly declare -(instancetype)init and document