added shape for an animation, now each animation can have his own shape
lot of changes, re-structuration of code, not easy to explain