Separated the code for monitoring IRC into a new method
Implemented backgrounding of IRC monitoring using threads