fixed problem with priorities read from comments had invalid values
moved docblock parser to Priority class
added WorkerFactoryInterface