a.console: rename members, interface and fix style for better readability.
Console: split methods.
Console: Finish to extract methods and simplify logic.