Add history module.
Add unittest.
Add history.