Moved async image loader to seperate class