Re-added task.py.

This should have been here for long!