Adds PArameters class with some associated modifiecations to Model class