set up match template, views, and urls