Topic routing

@CHenrie Please review.