Rename relase to release and change signature of memento class