The structure of normal surfaces