Have added a "name" attribute to a few entities.

Started adding classes etc for representing imported components.