A basic stream editor