Added Extension system, and made the TeamExtension.