Added task creation with dependency and closure.
Added example for custom run task.
Updated example in readme.