Get rid of the mutable map and use an actor instead