index model and runner script
implement TokenEngine and TextEngine