moves to flex/bison and makes proper classes for driver, lexer and parser