Undo is now working in remove command!

The remove command is done. Replace needs more work, but I know how to
get undo() to work now. Changes to other files include more static
utils classes.
methods