Rework DatabaseImporter.loadImages() to take additional parameter
Pass routes into getImages() function