Splits the bootstrap process

Removes hullbase.coffee
Dependency inversion
Small refacto
Uses lock