added support for reload images
moved ehcache configuration to programmatic cache factory