cleaned up client library, a script to import a folder of images