Link refactoring; TextStyleFactory modulizing; span test