Added IRC protocol parser class

also other various changes