Generate classes based on the mozilla parser api

- now can filter based on types
No reason. I like the idea of moving it. Its like that do to iterative development where the _get_specs got factored out.