first cut at n-class using Ant's classifier

It's rooly slow, haven't seen result yet...