Revert "giving Task class from configuration"

This reverts commit aac616d1ffd9e100f73e8f96430a2dbf30fc9343.
prevent cpu burning