Add route logic for handling params, constants and wild card routes