Moved almost all network code to Shared project and worked on master
server communication.