First batch of fixes after the grand refactor.

Can get as far as creating read directories.