first pass seqan impl

Not for review; some tests fail for tested specific implementation quirks, others fail as seqan is very forgiving
I think this can go back to its old place (I did the change it and rerun the tests).