implemented a basic IRC listener
added parsing of commandline options