Add hook, lib; move boot to lib; style;