Store last tag
Add parent tracking
Complete very simple parser