Update parser.class.php

swapped class order to fix #117