Refactoring Checkers services with command/query pattern