add rc file
try to use system cache directory
Merge branch 'develop' into feature/c_api
fix string initialization with 0