Set up routing framework