Moved console to application class.