Update/fix global variable
Make commands name more explicit
Factor authconfig management.
Rename prog namespace.