add command prompt feature. rename class.