added factory cache for xaml components