#414 Changed default cache and logs directory and added possibility to o...

fixes #414