XML function

added Xml to SQL and SQL to XML function.
added `mood` and `image` to database table.