Df input

Implementation of factory class template and its integration in AbstractRecord::factory method
Demonstration in unit tests and in FieldAlgoBase<>.
Make this method const.