changed server and client to use udp sockets
added component.h and component.cpp
all apps working with udp