Added historyStack
Added gson