Get config class from the DIC
(Hopefully) fixed last line
Really fixed last line ;-)
Actually use the DI config
Clean up :)