Implemented configuration frame work

Added reading and writing machinery's configuration file.
The file machinery_config.rb contains the default values
used when no configuration file is present.

Please check the full config file, not some pattern matching, so non-trivial problems are captured as well.