a class with public attributes? or should I really write all the getter/setter/constructor code for this?