Adds team Class.

Read comments for more info.