Remove usage of Systen.console()

The System.console() was null in eclipse' console.

By the way, add a basic prompt.