Created utils class

Moved async persistent task to Utils class