This code was incorporated into Rmd file
Separate file for specifying input parameters
Remove some classes and simplify
Write out input parameter file
Update; read input parameter file