Create the long-awaited console.c, and move the common routines out