Separated server from client
Added method getClosestPlayer