registration cleanup, add BalanceCMD, rearrange config structure a bit, improve perms some