added support for modelinfo by generating a private class modelinfo with slots datainfo and paraminfo
(reading the first entry of BuilderInfoList)