fix: now works for all options

Needed to export raw data writing code to `_write_data` subfunc
for proper functioning.
doc: update comments and name to AUTHORS