Update parser.class.php

swapped class order to fix #117
Merge pull request #126 from efalder413/master

swapped class order to fix #117