Fix formatting, add storage for commands, fix auth