preparations for Attribute parsing.

moved structures into subpackages.