Started on the configuration stuff. Updated docs and js.