Tracking and Completion states finished

Tracking is now implemented as much as possible without actual tracking
data.

Attribute 'ref' for each component has now been removed as not needed.