Moved the animation code from the modelhandler to the model class. The f$£%&! animations are still messed up