Added rudimentary history writer; testing to fix my pushing.