Complex sentence: The Fyodorovskaya Church was built to house the icon with funds provided by ordinary people; there is a treatise detailing all the minutiae of its construction and the miracles attributed to the icon in Yaroslavl.
Split into simpler sentences: The Fyodorovskaya Church was built to house the icon, with funds provided by ordinary people. A treatise details its construction and the miracles attributed to the icon in Yaroslavl.