Added REST interface for execute task
Better documentation