add undo and redo function
add constants.java class
add Command.java class
add constant class and undo and redo function
Merge branch 'logic'