Create AnimationThread.java