removed some global variables and made them class attributes
adding light-weight  web-service for profanity class