Migrate bootstrapping

* Also rewrite logging