Reorganise into src/ and lib/ directories.

Yeah!