rework ImageManager to address security concerns.

NOTE: REQUIRES MANUAL SETUP of image storage directory