Getter and Setters

Implemented automatic "get" and "set" methods.