Moving DB work to async class