new class for managing tasks