Fixed up and cleaned up routes.

- Added a polling class
- Added an intervals class (renamed)
Updated Docs.