Split editor viewer widget into a different file