Adding AJAX functionality for carousel. Adding caching+wrapper API for stats.