Added ability to add tasks using REST.