Continued with Ninja animation. Code refactoring.