Refactoring source code + Minor Bugfixes
Separating definition/implementation in .h/.cpp files + Bugfix: Prevent socket from keeping open by stopping UDP
Separating definition/implementation in .h/.cpp files + Bugfix: Prevent socket from keeping open by stopping UDP