Refactored field value retrieval to the utilities object.
Added proper code comments to the utility method getFieldsValue();