Appropriate wastewater collection, treatment and reuse in developing countries