Major refactoring heading to asynchat
More refactoring to move to asynchat
Bot's working using asynchat. Refactoring to be done