Move instantation of Listener to remove duplication.
Move instantation of Listener to remove duplication.

tdpreece/tdl-client-python,julianghionoiu/tdl-client-python,julianghionoiu/tdl-client-python,tdpreece/tdl-client-python