Updated setData() to use setters, changed class variable names to camelCase