The pairwise alignment framework is currently very messy and needs to be updated to have a single interface