Extract classes ActorManager and ServiceManager