Added Color Poller and block detection algorithm