Refactor actors to be stored in array (#225)

Actors referenced by index and recycled