Added contraints to schema
Enabled foreign keys, renamed tournament