renamed parser to more obvious name
finished rewrite of parser into three different record types