Enhance and refactor SpreadConverter sample