Import code from Team Rosters WordPress plugin

Downloaded from http://wordpress.org/extend/plugins/team-rosters
Used under GPLv2