first crack

include resource specific CORS options for Tasks

fixed linting