Tested WorkerModule and Edited some code

* Refactored class for being more testable
* Fixed some CS
* Tested full class
Composer versions up to date
Merge branch 'master' into 2.2