Added ScheduledTask, __init__.py only has exports

and other misc changes
Change dead_time to timeout_time