Pipe systems for liquids and gas