Can add custom controller in config

I needed a customer controller in my project (for redirecting old urls to new urls), so I added a config option to add a custom controller. Don't know if this is a acceptable solution, if not please explain and will try to change it.