A Framework for Determining and Establishing the Factors that affect Wastewater Treatment and Recycling