Adding in sleep timer

This addresses Issue #47.