feat(tasks) - add backend support for tasks. SD-639, SD-399

I will merge this as it is, I have  a new patch ready but it's quite involved so it's better to separate them. Sounds ok?