portability - defined global for install location

Defined global path and url based on installed location (the project I
was working on included the plugin as a library