added the 'define' function
made define persistant
Merge pull request #15 from wanderer/master

added the 'define' function