inital memoize module implementation

/* this module has no dependencies */