Converted networking.php to configure.php

* Set up the ground work for certificates
* Converted functions in js to accept an input type