Improved Code and Performance

The code now is more readable and improved.
There is no wait of animation completed anymore.
The game now is smooth.
Merge pull request #2 from crashlab/daniele

Improved Code and Performance