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.

This method transfers types to some custom representation of a type. That doesn't feel right. If the type is needed somewhere, it should be used directly and not via some translation, which adds an extra layer and gives another chance for breakage.