Refactoring bin/console