Added Generic Memory Repository