Remove Config class, add configuration logic to Root module and Railtie initializers