Make google cloud loader more generic