Merge pull request #229 from tzumainn/master

Update model code to use attr_accessor getter/setter methods