Generate classes based on the mozilla parser api

- now can filter based on types
Oh my gosh, it's so beautiful! *sheds a single tear*