adds functions to transform config into relational model