a) Backend definition in yaml file. This backend is the target for queues in this code.
b) Queue definition in yaml.
d) Code to enqueue an item to a task with check for tombstoned and duplicate tasks. Task params are sent using key value pairs. Here the value is a pickled task object.
Code download for this app is available here.