Major simplification of packets

Paket parsing simplified to a single class
Khaan removed template parameter
Gateway packet wrapper added along with serialization