Factor field read/write and parsing to separate class