Parameterize configuration file code

Parameterized server.conf and inputs.conf code.