fleshed out config functions, matches local-tld-lib functionality