Rewrote project initialization.