Refactored LocalActor out of Actor