ADDS MHistory class and its constructor