add app:setup command, generate key for first time