Moved the commit information into a seperate class