Add schemas code

Based on the code in infer where you are pattern matching it seems like you want an ADT. In that case this should be `sealed trait Classifier`. This ensures that nothing outside this file can extend Classifier and means that the compiler knows what all possible cases are when you do pattern matching.