Add illuminate/console and refactor some code.

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