drop dependency of some commands on old config object

Now the commands use the better public interface of our config.

@DeepDiver1975 I will now proceed in small steps, to get rid of the early init of the config object (that prevents the usage in the DI container)

cc @Raydiation @LukasReschke @PVince81 
While at it: Annotate the type on the constructor?