Changed packet structure.
Added basics of terrain handling.