Revamp scripting API to simplify it
Merge pull request #1 from CitizensDev/master

etc