the writer class
writer class functions with tests
update init file
writer class with tests