Added readPollInterval function
Updated documentation