Console mode changer
Lebel for console mode
Refactoring app.js