parser refactor to separate foreign items
continued refactor
dead code check
refactor more
parser comments
parser refactor cleanup
parser comments