Added animation to each move

plus minor changes to Java and a small fix