[Reviewer: Mike] Libmemento changes

Mike, can you please review these changes to remove libmemento