add script repository events api
move api loader method to ScriptApiInclude
refactor
add method for leave and forwarding
add method to determine if plugin is finished loading