initial commit of parsing script; should be in python, I know.