Done the mem module with test