Solidify match history into one file and integrate DB