move route definitions into controller files