set up initial templates/routing