Separate the console commands to specific job, keeping it DRY and SOLID.

Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>