Df input

Implementation of factory class template and its integration in AbstractRecord::factory method
Demonstration in unit tests and in FieldAlgoBase<>.
Avoid const casts, consider make factory method const (I see no problem with that)