Changed code such that the listeners would use a given JobManager rather
than rely on the singleton method getinstance
Merge branch 'connection-integration' into dev