Well, this is only to connect an IRC client, now we should maybe bind this to a socket (or whatever else, maybe a dumb container here??) that will allow us to poll the data from the IRC server, and to send the commands coming from the interface.
I'm not sure SmartIRC will be "enough" as-is, because implementing all the events hooks might be complicated (though actually clean enough), and also because it works in a modular way, mainly firing methods on given IRC events (it was created to build bots mainly).
Maybe some pfc coders could look at this and give a piece of advice on how this could be worked seamlessly enough