added the ScriptReference file to document code.
edited gitignore