Cost effective sanitation for rural and urban areas