Tasks are now a full featured object. Closes #1