add Interpreter docs and refactor a bit
shorten example
Merge pull request #800 from maraoz/add/ScriptInterpreter/devguide

add Interpreter docs and refactor a bit