Refactoring Socket communication
Merging Motor program with sockets
for wifi connection with 2 motors