added polling and streaming to pages and sitemaps. also split files