Implementation of actor system