Moved papi_field and the_papi_field to api file