added writer, renamed parser.py class, todo:cleanup repo