Added packet decoding and stuff
Merge branch 'structtest'