made images smaller so we would exceed memory budget, and also put adapter into separate file