Addition of xml parser for functions:

	  From XML write : type="function" in the variable xml tag.
		Also the variable (name = "xxx") needs to exist. If you want
		to add a new variable, add it first with its main type and then
		add the function.