Code clean up. Use socket communication