Refactors type of entities (software/environment/shared)