Issue #2 - Implemented a global parameter for polling interval