Script interpreter

Added the script interpreter with skeleton code, missing a lot of
functionality.