New approach to the stability and control of reaction networks