Updates

Created a sitemap class with build and save methods, to keep all of the sitemap code together.

Turned connection.php into a class

Removed save.php as the function was moved into sitemap class

Changed save functionality: 
Removed the json.Stringify, instead just pass the actual object to php
Changed save behaviour as it no longer receives a string, but an object