Move bootstrap code to its own class
Use package name for loadHooks rather than a class list