Tweaked init to have animation object coming from backend, this should help us implement animations better