Added the ability to change the cache dir

Set the default cache dir to be in the current user's home directory