remove all dependencies on ghc-api
fix cmdargs for Config