fixed bug with reading and writing logfiles with column-names containing parens.
-starting to integrate models