added sentiment analysis and added inter-query storage mechanism