started writing class for task managing