Rewrote startup (decoupled from dotcloud).