cleanup Driver.hs
Code cleanup and code documentation