Moved Udp code. Added entity change class and store all changed entities.