Rewrote ConfigParameters and added the ConfigRange class.