added templates for matches, began a bit of the backend for the match creation