minimized and refactored
used twitter streaming api