begin refactoring the base IRC code out into it's own library