Rewrote Packets to a new class

Build compiled, but it doesn't work (yet)