implemented Actor model for core