more functionality
corrected block_reboot call
added API documentation