Refactoring of UDP functionality:
- Added UDP_Debug for debug settings
- Refactoring of nested if and foreach at UDPServer.cs
- Comments added in most of the code