Changed socket control over to SocketLibrary
Added more network code
Added sources
Fixing up