[PATCH 3/5][image_factory] Add a Singleton base class