moved the script API to current level, added inputText() and input() with hidden text, added docs and minor changes