moved TaskEditor in its own class