added addPlayer, removePlayer and nextPlayer functionality in Engine