Now the program is better organaized, in a more oop way.
Added the udp scanning feature (not tested, but sadly i know it will be very slowly :().