Adds duplication marker features
Refactored marker and tests
Adds some prototyping...end of chapter 9