DDF-469 configure and enforce resource cache directory size
DDF-469: refactored ResourceCache and registered  as a service