inital memoize module implementation

this won't work as I thought it would :-| sometimes my brain does funny things, don't ask