Implemented MVC pattern and updated Ninja.update()