Fix the source group matching in common lib Added a couple packet structure documentations I had looked at.