Added loading tasks with resource and promise

Signed-off-by: A. Prooks <aprooks@live.ru>