organization: move all history-related stuff to its own file
5 files changed