extend API to get task list and process list