Bug with client-server connection fixed.
Default constructors to network classed added.