retrieving race types from firebase
put images in the right directory