Added functionality for loading dictionary entries either from a database or from the file system