Added caching of data read from properties and JSON files. Closes gh-1