adding writer.go
added writer and writer_test
fixed format
modified document and added AUTHORS and LICENSE
Merge branch 'release/0.1.0'