implement route config class