Added history support to the project. Closes #155.