Implemented evaluateScript

Closes #1
Replaces #31
Merge pull request #35 from stof/evaluate_script

Implemented evaluateScript