Added the getInstance and terminateInstance functions but did not hook them up yet.
Merge pull request #7 from nwnoga/pa-moreenvironvars

Added the getInstance and terminateInstance functions but did not hook t...