Way of init threads changed as it was not working before
New fuction parse_line created to parse elemnents of PRIVMSG