added options for rcache, improvement
added gitignore
name changes to most fxns