Add IrcMessage class and refactor accordingly. Closes #7