An implementation of the video store refactoring as presented in the book Refactoring by Martin Fowler