Completed:Feature: Implemented canvas undo
refatored