Refactor the module to make it easier for upgrade and proper separation of code contexts
Add basic linkify-matrix tests