Calculate data path in constructor.
In first version CacheManager will only save photos. web page to DB cache will be added later.