Added some parameter related methods and refactoring of the ParameterManager