Added movement function, and player differentiation by IP