Updated using attar reader/writer

generates methods for instance variables