improve imports
add code to restart tasks
add task recovery code
update log
fix bug
fix serialization bugs
fix clocking bug