new getters and setters for self.params, added m['var'] getter and setter