relay-parser: refactor observer class names and privmsg observer method