Generate classes based on the mozilla parser api

- now can filter based on types
and this