adding imagefile extensions as well as a way to get the proxy base class name