Switched to YAML; added detection of cache directory so it doesn't die if the directory doesn't exist; switched to space indents