Added server polling and local cache.