added more skeleton methods (add/delete/undo/redo) to Logic.java