Move Console.java as library.