tidied up irc dir and added config prototype