Begin adding documentation to markdown.py and cleaned up a few regexes
Update TODO