What is the version of the following sentence with correct punctuation?

This knowledge was incorporated hardly of the local population who worked in the fields rather they created a necessary white presence because these different instances needed administered
This knowledge was incorporated hardly of the local population, who worked in the fields, rather they created a necessary 'white' presence because these different instances needed administered.