Updated readme
Renamed factory
Fixed bug in max amount of task detection