Added newton modules needed. Modifies modules to use regex