Create cache directory

This pull request adds the creation of cache directory.
this is now fixed ;)