Lm caching

Merging changes to support caching language model files.