Moves Sparky.observe and poll to seperate file.