Moved most of the functions to a header file. Still could be cleaned up
a lot more
Separated out the em node's specific code from the more
general parameter class and functions.
Added functions that save and load the params via yaml files