Refactor comments.
Handle response after setting the new records.
Minor fix to prevent undefined index from $_GET.
Move system_ns to config.