Moved console into its own module