Memory directory implementation