minor cleanup
Refactored MEDITE's matching component
First parts of MEDITE's alignment algorithm
First running version of MEDITE's adaptation