a new class , stores date and task string