Refactor reader to use state_t instead of reader_t
Rename reader to parser (I know)
Refactor parser test
Pass state to callbacks and get rid of global vars
Pass full state to ui_draw()