Ditched azureFactory. Pass in serviceBusService from outside the function.
Refactored: define the _write implementation inside the constructor to get
rid of the instance variables. Favour closure instead.