some refactoring. Add dead animation Resolve #47