refactor actors, persist discovered links