Created Console class for all console-related functionality.