split history controllers into separate files.