1. Packet definition
2. Adapting singleton on some classes in client