Initial implementation of Task REST API.