moved sentiment calculator into own class