fixed a bug where duplicate textures may have been added to the root assembly
refactoring

updated entityDefs and added support for new file format

added translation of 'grey' colors into simple numerical values to reduce the number of color entities in the scene