Create irc_core.py

core irc client functionality