Match/Database creation stuff

It actually works...