Create team tables dynamically