Generate classes based on the mozilla parser api

- now can filter based on types
Yeah, and it hurts me right in the ideology to keep dragging you back down to 2.6. We'll get there eventually.