Switched poll-state-function to Redis; Bugfix Logicoil inclusion