Started breaking up populateCommit

Breaking down CommitGraph into more manageable code fragments.