fixed pagination issues, refactored code style, modified data request format, added history archive, progress on analytics sharing