reimplemented persistence manager as an actor