Implemented removePlayer method and handled foreground/background states in AppDelegate