fixed movement bug and added a few outgoing packets