Refactor how controller class is defined, injected and assigned
For online-conversation-ctrl