Logic: moved creation of AddTask and DeleteTask into the Logic