final list of todo added and cleaning
More beat stuff
wait_and_kill function added and cleanup
Stop shred and broadcasting implemented
small fixes
Code now runnable