Refactor to abstract the bootstrap area