impementation async resource loader