Added Images and Urls

Added Images to sitemap
Added toUrl function to convert loc to url
Added flush for development to flush cache.