Fleshed out parser and class table creation in semantic analyser.
Reconstructing everything to have a top level driver.