Split up bootstrap code into service provide and core app stuff