remove possibly unused dependencies.
stop generating config.ini, add needed stuff to the config instead.