Moves Buffer Code, Fixes packets.def Generation