Added unit movement for client and server