Add OOP improvement to console ui core.