Add parsing logic for class declarations

(This also introduces the EOF token)
Yep, we'd need an actual panic mode for this.