Proper pom.xml formatting.
Added ability to accept different packet types in event method.
Added ability to customize packet creation when receiving data.