changed update state when every worker is ready
Merge branch 'master' into classifierManager
changed synchronization
Merge branch 'master' into classifierManager
finished merge of new api to classifiers