Add a mongo layer method for retrieving the previous # of days of images