first draft of writer
don't test on Perl 5.8 with travis
implemented writer
fix reader test
extended writer