Added inventory initialization by reading a configuration file.