Switch domain name to use new "names" type.

Part of issue #2
Added backend function to get all options.
Renamed some commands, add list of all options.