moved CommitReaders inner classes/interfaces so that it compiles with scalac