Here is a github Java repository with the whole refactoring, from start to finish, following the steps seen in the slides: