added a log file
starting to get reasons for failures
Restful service now fills cache directory by itself
added a log file