reaktor: refactor ircasy for more encapsulation