implement mdwriter.py in main.py