rewrited sitemap creation to py.
though need to extend secrets.py for working, because using class for dbconnection