Added missing packages to Haskell CG. Driver batch mode now uses engine returned by runNetwork to wait until message processing completes