refactoring

1. extract actor paths
2. move link processing logic to link utils