Handle incoming routes

Signed-off-by: Thameera Senanayaka <thameera123@gmail.com>