fixing webapp references
refactoring sentiment analysis