New sustainable concepts and processes for optimization and upgrading municipal wastewater and sludge treatment