Topology, thermodynamics and physical properties of polymer networks