changing config file format slightly, to aid parsing
pull default min/max values from config, and do not hardcode the names in the code, but pull them from the config also.