add markdown.py and modify model.py