Convert to use Packet

Additional fix for App.c
Merge branch 'master' of https://github.com/yuyuzhou-pitt/project