Manufacture of soap and detergents