Moved registering of the config to the boot method