Refactored tweet processing from controller into a service.