Add IsInitialized
Refactor

* removed StopAllUnits
* Added a package for setting a reboot state file
* reboots will execute without delay
* hook lock is now held until machine comes back up
add LockDir() to paths