ENH: Add version number in parameter file and simplify code to load parameters