Console improvement, Working on redirecting input stream