add model, type and initStatements to read and write connections