indexer: auto-generation of models

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
records: auto-generation of models

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>