Bootstrap improvement

@peakxu 

Adds class method accessors for BootstrapRegistry and adds fetch_command to the bootstrap context.