Made the basic packet handling system. Haven't tested it.