removed function and team array
added new player to data file
merged glyphicon button function and introduced functionality to add new team/player
code tidies