Define routes in an array