My attempt at solving the refactoring challenge at https://github.com/webcompere/kata