fix to allow cache per model
linting fixes
Merge pull request #4 from ellman/master

fix to allow cache per model, thanks @ellman