Added flatten_comments. Untested
Got parsing running. Nearly there