Modules for scripting

It would be quite useful to have modules capability for scripting, so we could define our own modules for the workspace, which could then be easily included wherever needed in Button/Rule scripts.