Completed Config code, specs and tests