Move hardcoded declaration of controllers into configuration