Refactor listener accessor to also handle strings

- don't instantiate class from class reference
- also handle string references to subscriber