Moved logic into a Poller class to make use of instance niceness