Renamed "entites" to "entities"

WTF moritz
More reliable parsing of the players teams.
Internal handling of player_connect and player_disconnect events.

Todo: Exposing events.