added zpipe, did some code cleanup, added example result for linux sources