Added local cache for Link Types and Attributes Type. The cache is
shared between the components that need access to this informations.
Housekeeping and more logging