Adds Inactivity timer.
Adds unit tests for inactivity timer.

Refs #23