add class Writer 
still need to add:
class Writer write to DB
class Writer write to .txt file