moved task module loading and broker connection code out of __init__ and into dedicated methods
moved task module loading and broker connection code out of __init__ and into dedicated methods