add basic console mode
basic console mode