Moved UDP API to its own class
Moved packet analysis to its own class