Process of generating energy from the primary treatment of waste, or the processing of waste into a fuel source