Split up irc-client into multiple modules