new()
commands:Array<String>
read onlyisEmpty:Bool
addCommand(command:String):Void
clear():Void
getNextCommand():String
getPreviousCommand():String