Added abstract console implementation.
Refactored console: removed low-level interaction.
Minor edits.